package ejercicio1_4;

import java.util.Scanner;
/**Pedir dos caracteres por teclado y unirlos**/
public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		char caracter1, caracter2;
		String union;
		System.out.println("Introduzca un caracter: ");
		caracter1 = sc.next().charAt(0);
		System.out.println("Introduzca otro caracter: ");
		caracter2 = sc.next().charAt(0);
		union = ""+caracter1+caracter2;
		
		System.out.println("Union del primer y segundo caracter es: "+union);
	}
}
